// KWServer.h : main header file for the KWSERVER application
//

#if !defined(AFX_KWSERVER_H__C20793E7_71DA_4DA9_B411_3A9E63C8BD62__INCLUDED_)
#define AFX_KWSERVER_H__C20793E7_71DA_4DA9_B411_3A9E63C8BD62__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // main symbols
#include "..\KWServerCore\resource.h"

/////////////////////////////////////////////////////////////////////////////
// CKWServerApp:
// See KWServer.cpp for the implementation of this class
//

//#define TICKCOUNT     14400000L

#define IIE_DUPLICATE 1
#define IIE_LICENSE   2
#define IIE_SOCKET    3
#define IIE_DATABASE  4
#define IIE_SHELLCMD  5
#define IIE_NOERROR   6

class SingleProcessKeeper;
class LicenseChecker;

class CKWServerApp : public CWinApp
{
public:
	CKWServerApp();

protected:
	int m_nError;

public:
	SingleProcessKeeper * m_pSingleProcessKeeper;
	LicenseChecker * m_pLicenseChecker;

	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CKWServerApp)
public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();
	//}}AFX_VIRTUAL

	// Implementation
	//{{AFX_MSG(CKWServerApp)
	afx_msg void OnAppAbout();
	// NOTE - the ClassWizard will add and remove member functions here.
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_KWSERVER_H__C20793E7_71DA_4DA9_B411_3A9E63C8BD62__INCLUDED_)
